package com.xy.modular.shop.service.impl;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.shop.dao.ProductMapper;
import com.xy.modular.shop.entity.Product;
import com.xy.modular.shop.service.IProductService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author BCK
 * @since 2019-10-12
 */
@Service("productService")
public class ProductServiceImpl extends BaseServiceImpl<Product, String> implements IProductService {
	@Resource
	private ProductMapper productMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.productMapper;
	}

	@Override
	public void validateEntity(Product e) throws ValidateParamException {
		// TODO Auto-generated method stub
		
	}
}

	

